package com.youngjun.common.security.constant;

public final class PKIContat {
    public final static String DEFAULT_CERTIFICATE_TYPE = "X.509";
    public final static String DEFAULT_ALGORITHM = "RSA";
    public final static String DEFAULT_PROVIDER = "BC";
    public final static String DEFAULT_SIGNATURE_ALGORITHM = "SHA256WITHRSAENCRYPTION";
    public final static int DEFAULT_EXPIRED_YEARS = 10;//10年
    public final static int DEFAULT_CERTS_CACHE_EXPIRED_MINUTES = 5;
    public final static String DEFAULT_SESSION_KEY_FOR_LAST_ORG_REDIS_CACHE_KEY = "KEYSTORE_ORG_KEY";
    public final static String DEFAULT_SESSION_KEY_FOR_LAST_USER_REDIS_CACHE_KEY = "CERT_USER_KEY";
}
